Dynomotion

Group: DynoMotion Message: 5966 From: criccraccroc80 Date: 11/5/2012
Subject: Axis slave function + jog commands
Hi,

I almost completed my home CNC build using a KFLOP + KANALOG but I think that I am missing a little detail somewhere to make it work perfectly.

I do use 4 Yaskawa servo motors in the "encoder + DAC" mode. Axis A is slaved to Axis X (all settings for both axis are identical, slave gain = 1)

When I send a move command (G CODE) to axis X, axis A is moving synchronously which is what I do expect.

When I use the step command to move axis X, axis A is moving synchronously which is what I do expect.

Here's the problem: when I do a keyboard jog axis X moves, axis A follows axis X but as soon as I release the keyboard key, axis A goes back to it's original position and axis X stays at the right place.

I searched for help on the forums but I didn't find anything.

Can somebody help me?

Thanks,

François Legrand
Group: DynoMotion Message: 5968 From: TK Date: 11/6/2012
Subject: Re: Axis slave function + jog commands
Hi François,

Your system doesn't have an A axis. It has an Axis Channel 3 slaved to Axis Channel 0 (GCode X axis). If Axis Channel 3 is driven both as an independent A axis and as a Slave to X at the same time strange things may happen.

Please make sure the GCode Coordinate System does not define an A Axis using the call:

DefineCoordSystem(0,1,2,-1); // X,Y,Z and A undefined

TK

On Nov 5, 2012, at 7:36 PM, "criccraccroc80" <flegrand80@...> wrote:

 

Hi,

I almost completed my home CNC build using a KFLOP + KANALOG but I think that I am missing a little detail somewhere to make it work perfectly.

I do use 4 Yaskawa servo motors in the "encoder + DAC" mode. Axis A is slaved to Axis X (all settings for both axis are identical, slave gain = 1)

When I send a move command (G CODE) to axis X, axis A is moving synchronously which is what I do expect.

When I use the step command to move axis X, axis A is moving synchronously which is what I do expect.

Here's the problem: when I do a keyboard jog axis X moves, axis A follows axis X but as soon as I release the keyboard key, axis A goes back to it's original position and axis X stays at the right place.

I searched for help on the forums but I didn't find anything.

Can somebody help me?

Thanks,

François Legrand